package com.beiing.tianshuai.tianshuai.anim;

import android.view.View;

/**
 * Created by Jinni on 2017/10/17 0017.
 */

class ViewHelper {

    public static void setAlpha(View target, int i) {
        target.setAlpha(i);
    }

    public static void setScaleX(View target, int i) {
        target.setScaleX(i);
    }

    public static void setScaleY(View target, int i) {
        target.setScaleY(i);
    }

    public static void setTranslationX(View target, int i) {
        target.setTranslationX(i);
    }

    public static void setTranslationY(View target, int i) {
        target.setTranslationY(i);
    }

    public static void setRotation(View target, int i) {
        target.setRotation(i);
    }

    public static void setRotationY(View target, int i) {
        target.setRotationY(i);
    }

    public static void setRotationX(View target, int i) {
        target.setRotationX(i);
    }

    public static void setPivotX(View target, float v) {
        target.setPivotX(v);
    }

    public static void setPivotY(View target, float v) {
        target.setPivotY(v);
    }
}
